#include "Game.h"



Game::Game()
{
	RenderWindow window;
	window.create(VideoMode(1366, 768), "??? ???? ???? ????");
	//bool flag = false;

	while (window.isOpen())
	{
		Event eve;
		while (window.pollEvent(eve))
		{
			if (eve.type == Event::Closed)
			{
				window.close();
			}
			if (eve.type==Event::KeyPressed)
			{
				if (eve.key.code == Keyboard::D)
				{
					int gg = dice.random();

				}
			}

			
		}
		
		window.draw(monopoly.imgbrd);
		window.draw(monopoly.imgwood);
		window.draw(dice.imgdice);
		//window.clear();
		window.display();
		window.clear();

	}
}


Game::~Game()
{
}

void Game::run()
{

}